WindowCompat
Helper for accessing features in Window.
Properties
Functions
Link copied to clipboard
Enables the content of the given window to reach the edges of the window without getting inset by system insets, and prevents the framework from placing color views behind system bars.
Link copied to clipboard
@NonNull
Retrieves the single WindowInsetsControllerCompat of the window this view is attached to.
Link copied to clipboard
Finds a view that was identified by the
android:id
XML attribute that was processed in onCreate, or throws an IllegalArgumentException if the ID is invalid, or there is no matching view in the hierarchy.Link copied to clipboard
open fun setDecorFitsSystemWindows(@NonNull window: @NonNull Window, decorFitsSystemWindows: Boolean)
Sets whether the decor view should fit root-level content views for WindowInsetsCompat.